function inject_blockly() {
    console.log('inject_blockly');

    var workspace = Blockly.inject('blocklyDiv', {
        media: 'blockly/media/',
        trashcan: true,
        toolbox: document.getElementById('toolbox')
    });
}